package com.chen.solution.starter.demo;

import com.chen.solution.starter.demo.config.StarterProps;

/**
 * <p>desc: 核心服务类</p>
 *
 * @author chentian
 * @date 2022/3/26
 */
public class MyStarter {
    private StarterProps starterProps;

    public MyStarter(){

    }

    public MyStarter(StarterProps starterProps){
        this.starterProps = starterProps;
    }

    public String hello(){
        String msg = "hello:"+ starterProps.getWord();
        System.out.println(msg);
        return msg;
    }
}
